<?php
$citiao = '习近平';
echo $citiao;echo "<br/>";
$content = "中华人民共和国，习近平！";
echo $content;echo "<br/>";
$test = strpos($content,$citiao);
if($test){
	$citiao2 = "<a href='http://www.baidu.com' target='_blank'>".$citiao."</a>";
}
$result = str_replace($citiao,$citiao2,$content);
print_r($result);

?>